import axios from "axios"
import "Base" from "./Base"

class Teams extends Base {
	async list() {
		try {
			let {data} = await axios.get("/api/team");
			console.log(data)
			this.alert("hello")
			return data.Data
		} catch (error) {
			console.error(error);
		}
	}
}


export default Teams